home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: mlwillia@ix.netcom.com (Michael Williams)
- Newsgroups: comp.lang.c
- Subject: Problem linking in an old library...
- Date: Mon, 29 Jan 1996 13:40:36 GMT
- Organization: Netcom
- Message-ID: <4eiiq1$5o2@cloner2.ix.netcom.com>
- NNTP-Posting-Host: ix-gra3-01.ix.netcom.com
- X-NETCOM-Date: Mon Jan 29 5:41:21 AM PST 1996
- X-Newsreader: Forte Agent .99b.112
-
- Here's my problem:
-
- I'm trying to write a small Windows DLL using some functions in a
- library I received from a vendor. Apparently this library has only
- been used for DOS programs and was written back in 1992 sometime.
- When I try to compile the DLL (using Microsoft Visual C++ v1.52), I
- keep getting an "unresolved external' for the function in the library.
-
- I'm using the exact syntax out of the header file. I can even get a
- DOS executable to compile using the library. My questions are:
-
- 1. Is it possilble to create a DOS-only Library?
-
- 2. Assuming the above IS NOT true, are there certain flags I need to
- set in order to access this funciton? (I've tried changing the
- calling convention to PASCAL - no luck.)
-
- 3. Is there a program somewhere that will let me look at how a
- function is defined in a LIB file?
-
- Thanks for any help!!!!
-
- Mike Williams
- mlwillia@ix.netcom.com
-
-
-